package com.uhu.tag.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author liujunjie
 * @description
 * @create 2023-11-22 15:39
 **/
@ApiModel("修改标签组请求DTO")
@Data
public class TagGroupUpdateReqDTO implements Serializable {

    private static final long serialVersionUID = 2936106648309815417L;

    /**
     * 标签组ID
     */
    @NotNull(message = "标签组ID不能为空")
    @ApiModelProperty("标签组ID")
    private Long tagGroupId;

    /**
     * 标签组名称
     */
    @NotBlank(message = "标签组名称不能为空")
    @ApiModelProperty("标签组名称")
    private String tagGroupName;

}
